//
// Created by ste7an on 2022/2/27.
//

#ifndef __SERVER_SOCKET_H__
#define __SERVER_SOCKET_H__

#ifdef  __cplusplus
extern "C"{
#endif

typedef int (*SocketCallbackFunc)( const char *msg);

int ServerSocketStart(SocketCallbackFunc callback);

void ServerSocketStop(void);

#ifdef __cplusplus
}
#endif
#endif  /* __SERVER_SOCKET_H__ */

